package com.lineage.server.serverpackets;

public class S_PacketBoxItemLv extends ServerBasePacket {
  private byte[] _byte;
  
  public static final int MSG_LEVEL_OVER = 12;
  
  public S_PacketBoxItemLv(int minLv, int maxLv) {
    this._byte = null;
    writeC(250);
    writeC(12);
    writeC(minLv);
    writeC(maxLv);
  }
  
  public S_PacketBoxItemLv(int opid) {
    this._byte = null;
    writeC(opid);
    writeC(12);
    writeC(10);
    writeC(1249);
  }
  
  public byte[] getContent() {
    if (this._byte == null)
      this._byte = getBytes(); 
    return this._byte;
  }
  
  public String getType() {
    return getClass().getSimpleName();
  }
}
